'use strict';

const Controller = require('egg').Controller;

class TestController extends Controller {
  async index() {
    const inviter = await this.app.model.User.findByPk(18);
    console.log('TestController index inviter', inviter);
    await this.ctx.service.member.index(inviter);
  }
}

module.exports = TestController;
